package com.practice.J2E.util;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.IdUtil;

import java.util.Collections;
import java.util.Date;

/**
 * desc
 *
 * @author: kayn
 * 2024-09-02 14:33
 **/
public class GenerateUtil {

    public static void main(String[] args) {

        for (int i = 0; i < 10; i++) {
            System.out.println(IdUtil.getSnowflake().nextId());
        }

        System.out.println();

    }
}
